package xmlS
{
	import main.XMLLoaderBase;
	
	public class ADXMLLoader extends XMLLoaderBase
	{
		private var _desc:String;
		private var _callBack:Function;
		public function ADXMLLoader()
		{
			super();
		}
		
		public function init(callBack:Function = null):void
		{
			_callBack = callBack;
			super.loadXml("assets/xml/EnterGame.xml",loadXMLComplete,null);
		}
		
		private function loadXMLComplete(value:XML):void
		{
			var xml:XMLList = value.child("enterLang2");
			_desc = xml
			if(_callBack != null)
			{
				_callBack();
			}
		}
		
		public function get desc():String
		{
			return _desc;
		}
		
	}
}